package cineplanet.modelo;

import java.io.Serializable;
import javax.persistence.*;


/**
 * The persistent class for the tab_clientegenero database table.
 * 
 */
@Entity
@Table(name="tab_clientegenero")
public class TabClientegenero implements Serializable {
	private static final long serialVersionUID = 1L;

	@Id
	@Column(name = "CLI_Dni")
	private String CLI_Dni;

	@Column(name = "CGE_IdGenero")
	private int CGE_IdGenero;

	//bi-directional one-to-one association to TabCliente
	@OneToOne
	@JoinColumn(name="CLI_Dni")
	private TabCliente tabCliente;

    public TabClientegenero() {
    }

	public String getCLI_Dni() {
		return this.CLI_Dni;
	}

	public void setCLI_Dni(String CLI_Dni) {
		this.CLI_Dni = CLI_Dni;
	}

	public int getCGE_IdGenero() {
		return this.CGE_IdGenero;
	}

	public void setCGE_IdGenero(int CGE_IdGenero) {
		this.CGE_IdGenero = CGE_IdGenero;
	}
	
	public TabCliente getTabCliente() {
		return this.tabCliente;
	}

	public void setTabCliente(TabCliente tabCliente) {
		this.tabCliente = tabCliente;
	}
	
	
}